FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER detech

RUN mkdir -p /sbmh
RUN mkdir -p /sbmh/logs
RUN mkdir -p /sbmh/temp

WORKDIR /sbmh

EXPOSE 8080

ADD ./target/sbmh.jar ./app.jar

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
